Maximum - Weight Planar Boxes in O ( n 2 ) Time ( and Better ) I

نویسندگان

  • Jérémy Barbay
  • Timothy M. Chan
  • Gonzalo Navarro
  • Pablo Pérez-Lantero
چکیده

Given a set P of n points in R, where each point p of P is associated with a weight w(p) (positive or negative), the Maximum-Weight Box problem is to find an axis-aligned box B maximizing ∑ p∈B∩P w(p). We describe algorithms for this problem in two dimensions that run in the worst case in O(n) time, and much less on more specific classes of instances. In particular, these results imply similar ones for the Maximum Bichromatic Discrepancy Box problem. These improve by a factor of Θ(lg n) on the previously known worst-case complexity for these problems, O(n lg n) [Cortés et al., J. Alg., 2009; Dobkin et al., J. Comput. Syst. Sci., 1996]. Although the O(n) result can be deduced from new results on Klee’s Measure problem [Chan, Proc. FOCS 2013], it is a more direct and simplified (non-trivial) solution. We exploit the connection with Klee’s Measure problem to further show that (1) the Maximum-Weight Box problem can be solved in O(n) time for any constant d ≥ 2; (2) if the weights are integers bounded by O(1) in absolute values, or weights are +1 and −∞ (as in the Maximum Bichromatic Discrepancy Box problem), the Maximum-Weight Box problem can be solved in O((n/ lg n)(lg lg n)) time; (3) it is unlikely that the Maximum-Weight Box problem can be solved in less than n time (ignoring logarithmic factors) with current knowledge about Klee’s Measure problem. IA previous version of this paper appeared in the Proceedings of the 25th Canadian Conference on Computational Geometry (CCCG’13) [2]. Email addresses: [email protected] (Jérémy Barbay), [email protected] (Timothy M. Chan), [email protected] (Gonzalo Navarro), [email protected] (Pablo Pérez-Lantero) 1Partially funded by Millennium Nucleus Information and Coordination in Networks ICM/FIC P10-024F, Mideplan, Chile. 2Partially supported by grant CONICYT, FONDECYT/Iniciación 11110069, Chile. Preprint submitted to Elsevier March 17, 2014

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Maximum-Weight Planar Boxes in O(n2) Time (and Better)

Given a set P of n points in R, where each point p of P is associated with a weight w(p) (positive or negative), the Maximum-Weight Box problem consists in finding an axis-aligned box B maximizing ∑ p∈B∩P w(p). We describe algorithms for this problem in two dimensions that run in the worst case in O(n) time, and much less on more specific classes of instances. In particular, these results imply...

متن کامل

Minimum Cuts and Shortest Cycles in Directed Planar Graphs via Noncrossing Shortest Paths

Let G be an n-node simple directed planar graph with nonnegative edge weights. We study the fundamental problems of computing (1) a global cut of Gwith minimum weight and (2) a cycle of G with minimum weight. The best previously known algorithm for the former problem, running in O(n log n) time, can be obtained from the algorithm of Łącki, Nussbaum, Sankowski, and Wulff-Nilsen for single-source...

متن کامل

On the number of maximum empty boxes

We revisit the following problem (along with its higher dimensional variant): Given a set S of n points inside an axis-parallel rectangle U in the plane, find a maximum-area axis-parallel sub-rectangle that is contained in U but contains no points of S. (I) We prove that the number of maximum-area empty rectangles amidst n points in the plane is O(n log n 2), where α(n) is the extremely slowly ...

متن کامل

On the Number of Maximum Empty Boxes Amidst n Points

We revisit the following problem (along with its higher dimensional variant): Given a set S of n points inside an axis-parallel rectangle U in the plane, find a maximum-area axis-parallel sub-rectangle that is contained in U but contains no points of S. 1. We prove that the number of maximum-area empty rectangles amidst n points in the plane is O(n logn 2α(n)), where α(n) is the extremely slowl...

متن کامل

Unifying Maximum Cut and Minimum Cut of a Planar Graph

Absfmcf-We consider the real-weight maximum cut of a planar graph. Given an undirected planar graph with real-valued weights associated with its edges, find a partition of the vertices into two nonemply sets such that the sum of the weights of the edges connecting the two sets is maximum. The conventional maximum cut and minimum cut problems assume nonnegative edge weights, and thus are special...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014